package com.yanqu.road.entity.banquet.baifubanquet;

import java.util.*;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Description
 * @Author cwq
 * @Data 2021/11/9 12:00
 */
public class GoodBanquet {

    /**
     * 宴会信息
     */
    private GoodBanquetData banquetData;

    /**
     * 加入的玩家  k:玩家id
     */
    private Map<Long,GoodBanquetJoinInfoData> joinMap = new ConcurrentHashMap<>();

    /**
     * 赴宴玩家的顺序
     */
    private List<GoodBanquetJoinInfoData> joinInfoList = new ArrayList<>();

    public GoodBanquet(GoodBanquetData banquetData) {
        this.banquetData = banquetData;
    }

    public GoodBanquetData getBanquetData() {
        return banquetData;
    }

    public Map<Long, GoodBanquetJoinInfoData> getJoinMap() {
        return joinMap;
    }


    public List<GoodBanquetJoinInfoData> getJoinInfoList() {
        return joinInfoList;
    }
}
